Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.dam.layouts--widgets

This contribution is part of XML component org.nuxeo.dam.layouts inside nuxeo-dam-jsf-5.8.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="damPanelLeft" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="hideSubLabels">true</property>
            <property name="ajaxPanelId">damPanelLeft</property>
          </properties>
          <subWidgetRefs>
            <widget>damSearchForm</widget>
          </subWidgetRefs>
        </widget>
  • <widget name="damPanelCenter" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="hideSubLabels">true</property>
            <property name="ajaxPanelId">damPanelCenter</property>
          </properties>
          <subWidgetRefs>
            <widget>damSearchResults</widget>
          </subWidgetRefs>
        </widget>
  • <widget name="damPanelRight" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="hideSubLabels">true</property>
            <property name="ajaxPanelId">damPanelRight</property>
          </properties>
          <subWidgetRefs>
            <widget>damAssetView</widget>
          </subWidgetRefs>
        </widget>
  • <widget name="damSearchForm" type="documentActions">
          <properties widgetMode="view">
            <property name="category">DAM_PANEL_LEFT</property>
          </properties>
        </widget>
  • <widget name="damSearchResults" type="documentActions">
          <properties widgetMode="view">
            <property name="category">DAM_PANEL_CENTER</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
          </controls>
        </widget>
  • <widget name="damAssetView" type="documentActions">
          <properties widgetMode="view">
            <property name="category">DAM_PANEL_RIGHT</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
          </controls>
        </widget>
  • <widget name="damSingleAssetPanelLeft" type="documentActions">
          <properties widgetMode="view">
            <property name="category">DAM_SINGLE_ASSET_PANEL_LEFT</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
          </controls>
        </widget>
  • <widget name="damSingleAssetPanelRight" type="documentActions">
          <properties widgetMode="view">
            <property name="category">DAM_SINGLE_ASSET_PANEL_RIGHT</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">false</control>
          </controls>
        </widget>
  • <widget name="damSaveSearch" type="container">
          <handlingLabels>true</handlingLabels>
          <labels>
            <label mode="any">label.dam.search.saveSearch</label>
          </labels>
          <translated>true</translated>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="foldable">true</property>
            <property name="foldedByDefault">true</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
          <subWidgets>
            <widget name="saveContentView" type="saveBox">
              <fields>
                <field>#{damSearchActions.savedSearchTitle}</field>
              </fields>
              <properties widgetMode="any">
                <property name="required">true</property>
                <property name="placeholder">#{messages['label.dam.search.save.placeholder']}</property>
                <property name="description">label.dam.search.save.description</property>
                <property name="actionId">damSaveSearchAction</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="damSearchesSelector" type="template">
          <properties widgetMode="any">
            <property name="template">
              /dam/widgets/dam_searches_selector_widget_template.xhtml
            </property>
            <property name="ajaxReRender">
              damPanelLeft, damPanelCenter, damPanelRight
            </property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
        </widget>
  • <widget name="damSearchLayout" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
          </properties>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
          <subWidgetRefs>
            <widget>damSearchActions</widget>
            <widget>damSearchFilters</widget>
            <widget>damSearchActions</widget>
          </subWidgetRefs>
        </widget>
  • <widget name="damSearchFilters" type="contentViewSearchLayout">
          <properties widgetMode="any">
            <property name="contentViewName">#{damSearchActions.currentContentViewName}</property>
          </properties>
        </widget>
  • <widget name="damSearchActions" type="documentActions">
          <properties widgetMode="any">
            <property name="category">DAM_SEARCH_FILTER_ACTIONS</property>
            <property name="actionsDisplay">buttons</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="hideSubLabels">true</property>
            <property name="styleClass">searchFilterActions</property>
            <property name="useAjaxForm">true</property>
          </properties>
        </widget>
  • <widget name="damSearchResultsActions" type="documentActionsWithForms">
          <properties widgetMode="view">
            <property name="category">DAM_SEARCH_RESULTS_ACTIONS</property>
            <property name="styleClass">globalActionBar</property>
            <property name="subStyleClass">contextActions</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="actionStyleClass">button</property>
            <property name="actionsDisplay">buttons</property>
            <property name="useAjaxForm">true</property>
            <property name="ignoreTemplateProperty">true</property>
            <property name="maxActionsNumber">3</property>
          </properties>
        </widget>
  • <widget name="damContentView" type="dropZone">
          <subWidgets>
            <widget name="searchResults" type="contentViewWithForms">
              <properties widgetMode="any">
                <property name="contentViewName">#{damSearchActions.currentContentViewName}</property>
                <property name="showFilterForm">false</property>
                <property name="useAjaxForm">true</property>
                <property name="useAjaxPagination">true</property>
                <property name="ajaxReRender">damPanelRight</property>
                <property name="styleClass">alignL</property>
              </properties>
            </widget>
          </subWidgets>
          <properties widgetMode="any">
            <property name="dropContext">DAM_DND</property>
            <property name="cannotDrop">
              #{not webActions.checkFilter('canCreateInAssetLibrary')}
            </property>
          </properties>
        </widget>
  • <widget name="damAssetViewNoDocument" type="damAssetViewNoDocument"/>
  • <widget name="damAssetViewActions" type="documentActionsWithForms">
          <properties widgetMode="view">
            <property name="category">DAM_ASSET_VIEW_ACTIONS</property>
            <property name="styleClass">globalActionBar textAlignR</property>
            <property name="subStyleClass">contextActions</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="actionsDisplay">icons</property>
            <property name="useAjaxForm">true</property>
            <property name="ignoreTemplateProperty">true</property>
            <property name="maxActionsNumber">9</property>
          </properties>
        </widget>
  • <widget name="damAssetViewTitle" type="dam_title">
          <fields>
            <field/>
            <field>dc:description</field>
          </fields>
        </widget>
  • <widget name="damAssetViewPicture" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="styleClass">assetViewContainer</property>
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="pictureView" type="picture_view"/>
          </subWidgets>
        </widget>
  • <widget name="damAssetViewVideo" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="styleClass">assetViewContainer</property>
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="videoPlayer" type="video_player">
              <properties widgetMode="any">
                <property name="width">425</property>
                <property name="height">235</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="damAssetViewAudio" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="styleClass">assetViewContainer</property>
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="audioThumbnail" type="listing_thumbnail">
              <fields>
                <field/>
              </fields>
            </widget>
            <widget name="audioPlayer" type="audio_player">
              <fields>
                <field>#{value}</field>
                <field>file:content</field>
              </fields>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="damAssetViewThumbnail" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="styleClass">assetViewContainer</property>
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="thumbnail" type="listing_thumbnail">
              <fields>
                <field/>
              </fields>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="damAssetViewDescription" type="summary_current_document_description"/>
  • <widget name="damAssetViewTags" type="summary_current_document_tagging">
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="placeholder">
              #{messages['label.add.tag.placeholder']}
            </property>
          </properties>
        </widget>
  • <widget name="damAssetViewIndicators" type="documentActions">
          <properties widgetMode="view">
            <property name="category">DAM_ASSET_VIEW_INDICATORS</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="styleClass">indicators</property>
          </properties>
        </widget>
  • <widget name="damAssetViewStates" type="summary_current_document_states"/>
  • <widget name="damAssetViewLikesCount" type="document_likes_count"/>
  • <widget name="damAssetViewAnnotationsCount" type="document_annotations_count"/>
  • <widget name="damAssetViewCommentsCount" type="document_comments_count"/>
  • <widget name="damAssetViewVideoStoryboard" type="container">
          <labels>
            <label mode="any">heading.storyboard</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="videoStoryboard" type="video_storyboard"/>
          </subWidgets>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="foldable">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
        </widget>
  • <widget name="damAssetViewVideoInfo" type="container">
          <labels>
            <label mode="any">label.dam.video.information</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="videoInfo" type="layout">
              <properties widgetMode="any">
                <property name="name">video_info</property>
              </properties>
            </widget>
          </subWidgets>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="foldable">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
        </widget>
  • <widget name="damAssetViewDamCommon" type="toggleableLayoutWithForms">
          <labels>
            <label mode="any">label.dam.common</label>
          </labels>
          <translated>true</translated>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="displayToggleActionInHeader">true</property>
            <property name="foldable">true</property>
            <property name="initialLayoutName">dam_common</property>
            <property name="useAjaxForm">true</property>
          </properties>
        </widget>
  • <widget name="damAssetViewWorkflow" type="container">
          <labels>
            <label mode="any">label.document.routing.workflow</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="assetWorkflow" type="summary_document_route">
              <controls mode="any">
                <control name="requireSurroundingForm">true</control>
              </controls>
            </widget>
          </subWidgets>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="foldable">true</property>
            <property name="foldedByDefault">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
        </widget>
  • <widget name="damAssetViewTasks" type="container">
          <labels>
            <label mode="any">label.document.routing.your.tasks</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="assetTasks" type="summary_current_document_single_tasks">
              <controls mode="any">
                <control name="requireSurroundingForm">true</control>
              </controls>
            </widget>
          </subWidgets>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="foldable">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
        </widget>
  • <widget name="damAssetViewMetadata" type="toggleableDocumentLayoutWithForms">
          <labels>
            <label mode="any">label.dam.metadata</label>
          </labels>
          <translated>true</translated>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="displayToggleActionInHeader">true</property>
            <property name="foldable">true</property>
            <property name="useAjaxForm">false</property>
            <property name="hideDefaultActions">true</property>
            <property name="additionalActionsCategory">DAM_EDIT_DOCUMENT_FORM</property>
          </properties>
        </widget>
  • <widget name="damAssetViewComments" type="container">
          <labels>
            <label mode="any">#{nxu:translate('label.summary.comments', documentThreadedComments.size)}</label>
          </labels>
          <translated>false</translated>
          <subWidgets>
            <widget name="comments" type="summary_current_document_comments">
              <controls mode="any">
                <control name="requireSurroundingForm">true</control>
              </controls>
            </widget>
          </subWidgets>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="foldable">true</property>
            <property name="foldedByDefault">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
        </widget>
  • <widget name="damAssetViewIPTC" type="container">
          <labels>
            <label mode="any">label.header.info.iptc</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="iptc" type="layout">
              <properties widgetMode="any">
                <property name="name">iptc_info</property>
              </properties>
            </widget>
          </subWidgets>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="foldable">true</property>
            <property name="foldedByDefault">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
        </widget>
  • <widget name="damAssetViewEXIF" type="container">
          <labels>
            <label mode="any">label.header.info.exif</label>
          </labels>
          <translated>true</translated>
          <subWidgets>
            <widget name="exif" type="layout">
              <properties widgetMode="any">
                <property name="name">exif_info</property>
              </properties>
            </widget>
          </subWidgets>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="foldable">true</property>
            <property name="foldedByDefault">true</property>
            <property name="hideSubLabels">true</property>
          </properties>
        </widget>
  • <widget name="damAssetViewIpRights" type="toggleableLayoutWithForms">
          <labels>
            <label mode="any">label.dam.iprights</label>
          </labels>
          <translated>true</translated>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <properties widgetMode="any">
            <property name="displayToggleActionInHeader">true</property>
            <property name="foldable">true</property>
            <property name="foldedByDefault">true</property>
            <property name="initialLayoutName">ip_rights</property>
            <property name="useAjaxForm">true</property>
          </properties>
        </widget>
  • <widget name="damSingleAssetActions" type="documentActionsWithForms">
          <properties widgetMode="view">
            <property name="category">DAM_SINGLE_ASSET_ACTIONS</property>
            <property name="styleClass">globalActionBar textAlignL</property>
            <property name="subStyleClass">contextActions</property>
            <property name="overallDisplay">horizontal_block</property>
            <property name="actionsDisplay">buttons</property>
            <property name="useAjaxForm">true</property>
            <property name="ignoreTemplateProperty">true</property>
            <property name="maxActionsNumber">9</property>
          </properties>
        </widget>
  • <widget name="damSingleAssetVideo" type="container">
          <properties widgetMode="view">
            <property name="display">block_top</property>
            <property name="styleClass">assetViewContainer</property>
            <property name="hideSubLabels">true</property>
          </properties>
          <subWidgets>
            <widget name="videoPlayer" type="video_player">
              <properties widgetMode="any">
                <property name="width">723</property>
                <property name="height">400</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="damc_author" type="text">
          <labels>
            <label mode="any">label.dam.damc.author</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>damc:author</field>
          </fields>
          <properties widgetMode="edit">
            <property name="styleClass">dataInputText</property>
          </properties>
        </widget>
  • <widget name="damc_authoringDate" type="datetime">
          <labels>
            <label mode="any">label.dam.damc.authoringDate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>damc:authoringDate</field>
          </fields>
          <properties widgetMode="view">
            <property name="pattern">#{nxu:basicDateFormater()}</property>
          </properties>
          <properties widgetMode="edit">
            <property name="format">#{nxu:basicDateFormater()}</property>
            <property name="styleClass">dataInputTextDate</property>
          </properties>
        </widget>
  • <widget name="dam_edit_tags" type="select_tags">
          <labels>
            <label mode="any">label.dam.search.tagSearch</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>contextData['request/dam_bulk_edit_tags']</field>
          </fields>
          <properties widgetMode="edit">
            <property name="canSelectNewTag">true</property>
            <property name="placeholder">
              #{messages['label.dam.search.tags.placeholder']}
            </property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <!-- Grid layout widgets -->
    <widget name="damPanelLeft" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="hideSubLabels">true</property>
        <property name="ajaxPanelId">damPanelLeft</property>
      </properties>
      <subWidgetRefs>
        <widget>damSearchForm</widget>
      </subWidgetRefs>
    </widget>

    <widget name="damPanelCenter" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="hideSubLabels">true</property>
        <property name="ajaxPanelId">damPanelCenter</property>
      </properties>
      <subWidgetRefs>
        <widget>damSearchResults</widget>
      </subWidgetRefs>
    </widget>

    <widget name="damPanelRight" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="hideSubLabels">true</property>
        <property name="ajaxPanelId">damPanelRight</property>
      </properties>
      <subWidgetRefs>
        <widget>damAssetView</widget>
      </subWidgetRefs>
    </widget>

    <!-- Main actions widgets -->
    <widget name="damSearchForm" type="documentActions">
      <properties widgetMode="view">
        <property name="category">DAM_PANEL_LEFT</property>
      </properties>
    </widget>

    <widget name="damSearchResults" type="documentActions">
      <properties widgetMode="view">
        <property name="category">DAM_PANEL_CENTER</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
      </controls>
    </widget>

    <widget name="damAssetView" type="documentActions">
      <properties widgetMode="view">
        <property name="category">DAM_PANEL_RIGHT</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
      </controls>
    </widget>

    <widget name="damSingleAssetPanelLeft" type="documentActions">
      <properties widgetMode="view">
        <property name="category">DAM_SINGLE_ASSET_PANEL_LEFT</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
      </controls>
    </widget>

    <widget name="damSingleAssetPanelRight" type="documentActions">
      <properties widgetMode="view">
        <property name="category">DAM_SINGLE_ASSET_PANEL_RIGHT</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">false</control>
      </controls>
    </widget>

    <!-- Search -->

    <widget name="damSaveSearch" type="container">
      <handlingLabels>true</handlingLabels>
      <labels>
        <label mode="any">label.dam.search.saveSearch</label>
      </labels>
      <translated>true</translated>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="foldable">true</property>
        <property name="foldedByDefault">true</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
      </controls>
      <subWidgets>
        <widget name="saveContentView" type="saveBox">
          <fields>
            <field>#{damSearchActions.savedSearchTitle}</field>
          </fields>
          <properties widgetMode="any">
            <property name="required">true</property>
            <property name="placeholder">#{messages['label.dam.search.save.placeholder']}</property>
            <property name="description">label.dam.search.save.description</property>
            <property name="actionId">damSaveSearchAction</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="damSearchesSelector" type="template">
      <properties widgetMode="any">
        <property name="template">
          /dam/widgets/dam_searches_selector_widget_template.xhtml
        </property>
        <property name="ajaxReRender">
          damPanelLeft, damPanelCenter, damPanelRight
        </property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
      </controls>
    </widget>

    <widget name="damSearchLayout" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
      </properties>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
      </controls>
      <subWidgetRefs>
        <widget>damSearchActions</widget>
        <widget>damSearchFilters</widget>
        <widget>damSearchActions</widget>
      </subWidgetRefs>
    </widget>

    <widget name="damSearchFilters" type="contentViewSearchLayout">
      <properties widgetMode="any">
        <property name="contentViewName">#{damSearchActions.currentContentViewName}</property>
      </properties>
    </widget>

    <widget name="damSearchActions" type="documentActions">
      <properties widgetMode="any">
        <property name="category">DAM_SEARCH_FILTER_ACTIONS</property>
        <property name="actionsDisplay">buttons</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="hideSubLabels">true</property>
        <property name="styleClass">searchFilterActions</property>
        <property name="useAjaxForm">true</property>
      </properties>
    </widget>

    <!-- Search results -->
    <widget name="damSearchResultsActions" type="documentActionsWithForms">
      <properties widgetMode="view">
        <property name="category">DAM_SEARCH_RESULTS_ACTIONS</property>
        <property name="styleClass">globalActionBar</property>
        <property name="subStyleClass">contextActions</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="actionStyleClass">button</property>
        <property name="actionsDisplay">buttons</property>
        <property name="useAjaxForm">true</property>
        <property name="ignoreTemplateProperty">true</property>
        <property name="maxActionsNumber">3</property>
      </properties>
    </widget>

    <widget name="damContentView" type="dropZone">
      <subWidgets>
        <widget name="searchResults" type="contentViewWithForms">
          <properties widgetMode="any">
            <property name="contentViewName">#{damSearchActions.currentContentViewName}</property>
            <property name="showFilterForm">false</property>
            <property name="useAjaxForm">true</property>
            <property name="useAjaxPagination">true</property>
            <property name="ajaxReRender">damPanelRight</property>
            <property name="styleClass">alignL</property>
          </properties>
        </widget>
      </subWidgets>
      <properties widgetMode="any">
        <property name="dropContext">DAM_DND</property>
        <property name="cannotDrop">
          #{not webActions.checkFilter('canCreateInAssetLibrary')}
        </property>
      </properties>
    </widget>

    <!-- Asset view -->
    <widget name="damAssetViewNoDocument" type="damAssetViewNoDocument"/>

    <widget name="damAssetViewActions" type="documentActionsWithForms">
      <properties widgetMode="view">
        <property name="category">DAM_ASSET_VIEW_ACTIONS</property>
        <property name="styleClass">globalActionBar textAlignR</property>
        <property name="subStyleClass">contextActions</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="actionsDisplay">icons</property>
        <property name="useAjaxForm">true</property>
        <property name="ignoreTemplateProperty">true</property>
        <property name="maxActionsNumber">9</property>
      </properties>
    </widget>

    <widget name="damAssetViewTitle" type="dam_title">
      <fields>
        <field/>
        <field>dc:description</field>
      </fields>
    </widget>

    <widget name="damAssetViewPicture" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="styleClass">assetViewContainer</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="pictureView" type="picture_view"/>
      </subWidgets>
    </widget>

    <widget name="damAssetViewVideo" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="styleClass">assetViewContainer</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="videoPlayer" type="video_player">
          <properties widgetMode="any">
            <property name="width">425</property>
            <property name="height">235</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="damAssetViewAudio" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="styleClass">assetViewContainer</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="audioThumbnail" type="listing_thumbnail">
          <fields>
            <field/>
          </fields>
        </widget>
        <widget name="audioPlayer" type="audio_player">
          <fields>
            <field>#{value}</field>
            <field>file:content</field>
          </fields>
        </widget>
      </subWidgets>
    </widget>

    <widget name="damAssetViewThumbnail" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="styleClass">assetViewContainer</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="thumbnail" type="listing_thumbnail">
          <fields>
            <field/>
          </fields>
        </widget>
      </subWidgets>
    </widget>

    <widget name="damAssetViewDescription" type="summary_current_document_description"/>

    <widget name="damAssetViewTags" type="summary_current_document_tagging">
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="placeholder">
          #{messages['label.add.tag.placeholder']}
        </property>
      </properties>
    </widget>

    <widget name="damAssetViewIndicators" type="documentActions">
      <properties widgetMode="view">
        <property name="category">DAM_ASSET_VIEW_INDICATORS</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="styleClass">indicators</property>
      </properties>
    </widget>

    <widget name="damAssetViewStates" type="summary_current_document_states"/>

    <widget name="damAssetViewLikesCount" type="document_likes_count"/>

    <widget name="damAssetViewAnnotationsCount" type="document_annotations_count"/>

    <widget name="damAssetViewCommentsCount" type="document_comments_count"/>

    <widget name="damAssetViewVideoStoryboard" type="container">
      <labels>
        <label mode="any">heading.storyboard</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="videoStoryboard" type="video_storyboard"/>
      </subWidgets>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="foldable">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
    </widget>

    <widget name="damAssetViewVideoInfo" type="container">
      <labels>
        <label mode="any">label.dam.video.information</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="videoInfo" type="layout">
          <properties widgetMode="any">
            <property name="name">video_info</property>
          </properties>
        </widget>
      </subWidgets>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="foldable">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
    </widget>

    <widget name="damAssetViewDamCommon" type="toggleableLayoutWithForms">
      <labels>
        <label mode="any">label.dam.common</label>
      </labels>
      <translated>true</translated>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="displayToggleActionInHeader">true</property>
        <property name="foldable">true</property>
        <property name="initialLayoutName">dam_common</property>
        <property name="useAjaxForm">true</property>
      </properties>
    </widget>

    <widget name="damAssetViewWorkflow" type="container">
      <labels>
        <label mode="any">label.document.routing.workflow</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="assetWorkflow" type="summary_document_route">
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
        </widget>
      </subWidgets>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="foldable">true</property>
        <property name="foldedByDefault">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
    </widget>

    <widget name="damAssetViewTasks" type="container">
      <labels>
        <label mode="any">label.document.routing.your.tasks</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="assetTasks" type="summary_current_document_single_tasks">
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
        </widget>
      </subWidgets>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="foldable">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
    </widget>

    <widget name="damAssetViewMetadata" type="toggleableDocumentLayoutWithForms">
      <labels>
        <label mode="any">label.dam.metadata</label>
      </labels>
      <translated>true</translated>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="displayToggleActionInHeader">true</property>
        <property name="foldable">true</property>
        <property name="useAjaxForm">false</property>
        <property name="hideDefaultActions">true</property>
        <property name="additionalActionsCategory">DAM_EDIT_DOCUMENT_FORM</property>
      </properties>
    </widget>

    <widget name="damAssetViewComments" type="container">
      <labels>
        <label mode="any">#{nxu:translate('label.summary.comments', documentThreadedComments.size)}</label>
      </labels>
      <translated>false</translated>
      <subWidgets>
        <widget name="comments" type="summary_current_document_comments">
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
          </controls>
        </widget>
      </subWidgets>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="foldable">true</property>
        <property name="foldedByDefault">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
    </widget>

    <widget name="damAssetViewIPTC" type="container">
      <labels>
        <label mode="any">label.header.info.iptc</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="iptc" type="layout">
          <properties widgetMode="any">
            <property name="name">iptc_info</property>
          </properties>
        </widget>
      </subWidgets>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="foldable">true</property>
        <property name="foldedByDefault">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
    </widget>

    <widget name="damAssetViewEXIF" type="container">
      <labels>
        <label mode="any">label.header.info.exif</label>
      </labels>
      <translated>true</translated>
      <subWidgets>
        <widget name="exif" type="layout">
          <properties widgetMode="any">
            <property name="name">exif_info</property>
          </properties>
        </widget>
      </subWidgets>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="foldable">true</property>
        <property name="foldedByDefault">true</property>
        <property name="hideSubLabels">true</property>
      </properties>
    </widget>

    <widget name="damAssetViewIpRights" type="toggleableLayoutWithForms">
      <labels>
        <label mode="any">label.dam.iprights</label>
      </labels>
      <translated>true</translated>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <properties widgetMode="any">
        <property name="displayToggleActionInHeader">true</property>
        <property name="foldable">true</property>
        <property name="foldedByDefault">true</property>
        <property name="initialLayoutName">ip_rights</property>
        <property name="useAjaxForm">true</property>
      </properties>
    </widget>

    <widget name="damSingleAssetActions" type="documentActionsWithForms">
      <properties widgetMode="view">
        <property name="category">DAM_SINGLE_ASSET_ACTIONS</property>
        <property name="styleClass">globalActionBar textAlignL</property>
        <property name="subStyleClass">contextActions</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="actionsDisplay">buttons</property>
        <property name="useAjaxForm">true</property>
        <property name="ignoreTemplateProperty">true</property>
        <property name="maxActionsNumber">9</property>
      </properties>
    </widget>

    <widget name="damSingleAssetVideo" type="container">
      <properties widgetMode="view">
        <property name="display">block_top</property>
        <property name="styleClass">assetViewContainer</property>
        <property name="hideSubLabels">true</property>
      </properties>
      <subWidgets>
        <widget name="videoPlayer" type="video_player">
          <properties widgetMode="any">
            <property name="width">723</property>
            <property name="height">400</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

    <widget name="damc_author" type="text">
      <labels>
        <label mode="any">label.dam.damc.author</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>damc:author</field>
      </fields>
      <properties widgetMode="edit">
        <property name="styleClass">dataInputText</property>
      </properties>
    </widget>

    <widget name="damc_authoringDate" type="datetime">
      <labels>
        <label mode="any">label.dam.damc.authoringDate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>damc:authoringDate</field>
      </fields>
      <properties widgetMode="view">
        <property name="pattern">#{nxu:basicDateFormater()}</property>
      </properties>
      <properties widgetMode="edit">
        <property name="format">#{nxu:basicDateFormater()}</property>
        <property name="styleClass">dataInputTextDate</property>
      </properties>
    </widget>

    <widget name="dam_edit_tags" type="select_tags">
      <labels>
        <label mode="any">label.dam.search.tagSearch</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>contextData['request/dam_bulk_edit_tags']</field>
      </fields>
      <properties widgetMode="edit">
        <property name="canSelectNewTag">true</property>
        <property name="placeholder">
          #{messages['label.dam.search.tags.placeholder']}
        </property>
      </properties>
    </widget>

  </extension>